FROM reg.grawav.cn:24515/public/nginx/nginx:alpine
COPY assets /usr/share/nginx/html/assets/
COPY images /usr/share/nginx/html/images/
COPY index.html /usr/share/nginx/html/
COPY favicon.ico /usr/share/nginx/html/
COPY config.js /usr/share/nginx/html/config.js
COPY version.txt /usr/share/nginx/html/version.txt
COPY entrypoint.sh /entrypoint.sh 
RUN chmod +x /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"]
CMD ["nginx", "-g", "daemon off;"]